<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017-12-04
  Time: 21:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="s" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
    <title>增加列表</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/lib/css/bootstrap-theme.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/lib/css/bootstrap.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/lib/css/bootstrap-theme.min.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/lib/css/bootstrap.min.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/lib/css/bootstrap-datepicker3.min.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/app/css/myCss.css">
</head>
<body>

    <%--<s:form modelAttribute="Employ" cssClass="form">
        姓名：
        <s:input path="name" ></s:input><s:errors path="name"></s:errors><br>
        性别：<s:radiobuttons  path="gender"  itemLabel="text"></s:radiobuttons><br>
        出生日期：<s:input path="birthday" /><s:errors path="birthday"></s:errors><br>
        部门编号：<s:input path="departmentId" ></s:input><s:errors path="departmentId"></s:errors><br>
        <input type="submit" value=增加><br>
    </s:form>--%>

<s:form modelAttribute="Employ" cssClass="form-horizontal">
        <div class="form-group"></div>
        <div class="form-group">
            <label  class="col-sm-2 control-label">姓名：</label>
            <div class="col-sm-6">
            <s:input path="name" class="form-control  " ></s:input><s:errors path="name"></s:errors>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label" >性别：</label>
            <div class="col-sm-6">
                <s:radiobuttons  path="gender" class="radio-inline " itemLabel="text"></s:radiobuttons>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label " >出生日期：</label>
            <div class="col-sm-6">
            <s:input path="birthday" class="birthday form-control  " /><s:errors path="birthday"></s:errors>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label" >部门编号：</label>
            <div class="col-sm-6">
            <s:input path="departmentId" class="form-control " /><s:errors path="birthday"></s:errors>
            </div>
        </div>

    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-success ">增加</button>
        </div>
    </div>

</s:form>
    <script src="${pageContext.request.contextPath}/assets/lib/js/jquery3.2.js"></script>
    <script src="${pageContext.request.contextPath}/assets/lib/js/bootstrap-datepicker.js"></script>
    <script src="${pageContext.request.contextPath}/assets/lib/js/bootstrap-datepicker.zh-CN.min.js"></script>
    <script src="${pageContext.request.contextPath}/assets/app/js/myJs.js"></script>
</body>
</html>
